package s17.ch20.ex3;

public class MyGenericType {

	public static void main(String[] args) {
		Parser<NumberList> numberParser = new NumberParser();		
		NumberList numberList = numberParser.parse("10,20,30");
		System.out.println(numberList);
		
		Parser<DateList> dateParser = new DateParser();
		DateList dateList = dateParser.parse("2012-01-12,2013-10-23,2014-05-22");
		System.out.println(dateList);
	}

}
